package peng.service.impl;

import org.springframework.stereotype.Service;
import peng.dao.AdminUserGroupMapper;
import peng.entity.AdminUserGroup;
import peng.service.AdminUserGroupService;

import javax.annotation.Resource;

@Service
public class AdminUserGroupServiceImpl implements AdminUserGroupService {
    @Resource
    private AdminUserGroupMapper adminUserGroupMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return adminUserGroupMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(AdminUserGroup record) {
        return adminUserGroupMapper.insertSelective(record);
    }

    @Override
    public AdminUserGroup selectByPrimaryKey(Integer id) {
        return adminUserGroupMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AdminUserGroup record) {
        return adminUserGroupMapper.updateByPrimaryKeySelective(record);
    }
}
